package com.baizhi.dao;

import com.baizhi.entity.Song;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SongDAO {
    List<Song> selectAll(@Param("songName") String songName, @Param("who") Integer who);
    void insert(Song song);
    void delete(Integer id);
    void deleteMany(Integer[] ids);
    Song selectOne(Integer id);
    void update(Song song);
}
